package cn.com.dcsgo.vo;

import cn.com.dcsgo.domain.ProdPropValue;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 商品规格信息
 * 例如：颜色->prodPropValues->[红色,黄色,蓝色]
 *
 * @author Dcsgo
 * @since 2025/10/18 10:19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "商品规格信息")
public class ProdPropVO {
    /**
     * 规格ID
     */
    @Schema(description = "规格ID")
    private Long propId;

    /**
     * 规格名称
     */
    @Schema(description = "规格名称")
    private String propName;

    /**
     * 规格值列表
     */
    @Schema(description = "规格值列表")
    private List<ProdPropValue> prodPropValues;
}
